(function(){var templateCache = window.$templateCache||Ares.templateCache;templateCache.put('/app/short-message/short-message-template-category-edit-dialog/short-message-template-category-edit-view.html','<div ares-clean-kendo class="enyo short-message-template-category-edit-wrap">    <style scoped>        .category-edit-form .form-group-head {            background-color: #f3f7f7;            line-height: 32px;            text-indent: 7px;            margin-bottom: 15px;        }        .category-edit-form {            margin: 10px;        }        .category-edit-form .label-width {            width: 60px;            text-align: right;            padding: 0;            margin-right: 10px;            line-height: 32px;        }        .category-edit-form .label-width label {            font-weight: normal;            color: #9397a2;            margin-bottom: 0;        }        .enyo-modal-content {            min-height: 200px;        }           .short-message-template-category-edit-wrap .category-edit-row-item {            display: block;            font-size: 0;            margin-bottom: 15px;        }      .short-message-template-category-edit-wrap .category-edit-row-item .category-edit-item-title {                display: inline-block;                vertical-align: middle;                font-size: 14px;                min-width: 80px;            }       .short-message-template-category-edit-wrap .category-edit-row-item .category-edit-item-content {                display: inline-block;                vertical-align: middle;                font-size: 14px;                min-width: 100px;            }     </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">{{title}}</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content">            <form class="category-edit-form">                <div class="category-edit-row-item">                    <p class="category-edit-item-title">短信类别：</p>                    <div class="category-edit-item-content">                       <input  class="form-control" style="width: 180px;"                               ng-model="currentSystemSettingItem.itemName"/>                    </div>                </div>            </form>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="cancel()">取消</span>            <button class="btn btn-primary last-field" ng-click="saveSystemSettingItem()">保存</button>        </div>    </div></div>');templateCache.put('/app/short-message/shortmessage-template-edit-dialog/short-message-template-edit-dialog-view.html','<div id="short-message-template-edit-wrap" class="enyo">    <style scoped>        #short-message-template-edit-wrap {            height: 100%;        }            #short-message-template-edit-wrap #short-message-template-edit-wrap-header {                font-size: 15px;                background-color: #00A6C9;                color: #FFFFFF;                padding-left: 5px;                height: 36px;                margin-top: 0px;                margin-bottom: 0px;                font-weight: bold;                line-height: 36px;            }            #short-message-template-edit-wrap .short-message-template-edit-content {                height: calc(100% - 50px);                width: 100%;                padding-top: 10px;                position: relative;                overflow-y: auto;            }                #short-message-template-edit-wrap .short-message-template-edit-content .short-message-template-edit-switch-content {                    height: 100%;                    overflow-y: auto;                    overflow-x: hidden;                }            #short-message-template-edit-wrap .short-message-template-edit-footer {                box-sizing: border-box;                height: 50px;                background-color: #f3f7f7;                border-top: 1px solid #cfdbdd;            }            #short-message-template-edit-wrap .ares-numeric-max {                vertical-align: top;            }                #short-message-template-edit-wrap .ares-numeric-max.ares-numeric-input input {                    height: 32px;                }                #short-message-template-edit-wrap .ares-numeric-max.ares-numeric-input .min-plus-btn {                    line-height: 30px;                    height: 32px;                }            #short-message-template-edit-wrap label {                font-size: 13px;                font-weight: 400;                margin: 0;            }            #short-message-template-edit-wrap .form-control {                display: inline-block;                vertical-align: top;            }            #short-message-template-edit-wrap .edit-row-item {                display: block;                font-size: 0;                margin-bottom: 15px;            }                #short-message-template-edit-wrap .edit-row-item .edit-item-title {                    display: inline-block;                    vertical-align: middle;                    font-size: 14px;                    min-width: 80px;                    margin-left: 20px;                    margin-right: 10px;                }                #short-message-template-edit-wrap .edit-row-item .edit-item-content {                    display: inline-block;                    vertical-align: middle;                    font-size: 14px;                    min-width: 100px;                }            #short-message-template-edit-wrap .btn-content {                background: #FFFFFF;                border: 1px solid #E3E3E3;                padding: 5px;                width: 80px;            }            #short-message-template-edit-wrap .comment-textarea {                box-sizing: border-box;                width: 100%;                max-width: 100%;                height: 100px;            }            #short-message-template-edit-wrap .edit-item-content button {                margin-left: 0px;                margin-bottom: 5px;            }            #short-message-template-edit-wrap .preview-level1 {                width: 35%;                margin-left: 5px;                border: 2px solid #E3E3E3;                border-radius: 13px;            }            #short-message-template-edit-wrap .preview-level2 {                width: 90%;                height: 90%;                background: #FAFAFA;                border: 1px solid #E3E3E3;                margin: 0 auto;                margin-bottom: 10px;                margin-top: 10px;            }            #short-message-template-edit-wrap .preview-level3 {                background: #FFFFFF;                width: 90%;                height: 300px;                overflow-y: auto;                border: 1px solid #E3E3E3;                margin: 0 auto;                margin-bottom: 10px;                margin-top: 10px;                padding: 5px;            }    </style>    <div class="short-message-template-edit-content">        <div class="edit-row-item">            <p class="edit-item-title">短信类型</p>            <div class="edit-item-content">                <label class="radio-inline">                    <input type="radio" name="dateType" ng-value="0" ng-click="radioChange(0)" ng-model="template.type">行业                </label>                <br />                <label class="radio-inline">                    <input type="radio" name="dateType" ng-value="1" ng-click="radioChange(1)" ng-model="template.type">营销（营销类短信结尾有“退订回TD”后缀，用户可取消短信提醒。）                </label>            </div>        </div>        <div class="edit-row-item">            <p class="edit-item-title">模板类别</p>            <div class="edit-item-content">                <input id="category" class="form-control" style="width: 180px;"                       ng-model="template.category" />            </div>        </div>        <div class="edit-row-item">            <p class="edit-item-title">短信名称</p>            <div class="edit-item-content">                <input class="form-control" style="width: 180px;"                       ng-model="template.name" />            </div>        </div>        <div class="edit-row-item">            <p class="edit-item-title">短信内容</p>            <div class="edit-item-content" style="width: 50%;">                <div style="background: #FAFAFA;">                    <button class="btn btn-content" ng-click="addTemplateContent(\'患者姓名\')">                        <span style="font-size: larger">⊕</span>患者姓名                    </button>                    <button class="btn btn-content" ng-click="addTemplateContent(\'患者称呼\')">                        <span style="font-size: larger">⊕</span>患者称呼                    </button>                    <button class="btn btn-content" ng-click="addTemplateContent(\'预约时间\')">                        <span style="font-size: larger">⊕</span>预约时间                    </button> <button class="btn btn-content" ng-click="addTemplateContent(\'预约医生\')">                        <span style="font-size: larger">⊕</span>预约医生                    </button> <button class="btn btn-content" ng-click="addTemplateContent(\'ApptTime\')">                        <span style="font-size: larger">⊕</span>ApptTime                    </button> <button class="btn btn-content" ng-click="addTemplateContent(\'诊所名称\')">                        <span style="font-size: larger">⊕</span>诊所名称                    </button> <button class="btn btn-content" ng-click="addTemplateContent(\'诊所地址\')">                        <span style="font-size: larger">⊕</span>诊所地址                    </button>                    <button class="btn btn-content" ng-click="addTemplateContent(\'诊所电话\')">                        <span style="font-size: larger">⊕</span>诊所电话                    </button>                </div>                <textarea class="form-control comment-textarea" ng-model="template.content">{{template.content}}</textarea>                <div style="text-align: right">共 <span style="color: #008FAE">{{templateLength}}</span> 个字，按 <span style="color: #008FAE">{{messageCount}}</span>  条 短信计算</div>                <div style="width:100%;">                    <div>备注：</div>                    <div>                        1、短信字数<=70个字，按照70个字一条短信计算。中文英文符号统一计算为一个字符。                    </div>                    <div>                        2、短信字数>70个字，占用3个字符作为分条字符，按照67个字记为一条短信计算，多条短信可能在部分手机系统上呈现为一条短信的形态，测试时请注意。                    </div>                    <div>                        3、超链接地址请写在短信内容中，便于核实，部分安卓系统存在超链接识别问题，需在超链接前后添加空格。                    </div>                </div>            </div>            <div class="edit-item-content preview-level1">                <div style="font-size: 13px; color: #575D6A;text-align: center;font-weight: bold;padding-top:5px">                    短信预览                </div> <div class="preview-level2">                    <div class="preview-level3">                        {{previewText}}                    </div>                </div>            </div>        </div>    </div>    <div class="slide-large-modal-footer">        <div class="short-message-template-edit-footer">            <div class="pull-right" style="padding: 9px 0;">                <button class="btn btn-default" ng-click="cancel()">取消</button>                <button class="btn" ng-click="save()"                        style="background-color: #f7a51d; color: #fff;">                    保存                </button>            </div>        </div>    </div>');templateCache.put('/app/short-message/views/short-message-batch-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{action==\'add\'?\'新建短信群发\':\'编辑短信群发\'}}</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:5px">        <form id="batchForm" class="form-horizontal" style="height:590px;">            <div class="col-sm-3" style="padding:0 5px 0 0">                <div class="panel panel-default"                     ng-class="{\'ares-invalid\':isTemplateInvalid}">                    <div class="panel-heading">短信模版</div>                    <div class="panel-body" style="padding:0">                        <div kendo-tree-view="templateTree"                             k-data-source="categories"                             k-data-text-field="[\'name\']"                             k-on-change="onTemlateChanged(dataItem)"                             style="height: 410px; overflow: auto; border-bottom: 1px solid lightgray;">                        </div>                        <div>                            <span class="glyphicon glyphicon-question-sign" style="float:left;margin-top: 4px;"                                  tooltip="由于运营商对短信的监管要求，每个短信模板都需要在服务商处备案，您暂不能添加短信模板。如果您需要添加个性化短信模板，请联系领健客服，谢谢！"                                  tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"></span>                            <div style="padding-top: 2px;"                                 tooltip="由于运营商对短信的监管要求，每个短信模板都需要在服务商处备案，您暂不能添加短信模板。如果您需要添加个性化短信模板，请联系领健客服，谢谢！"                                 tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter"><label style="">&nbsp;如何添加更多模版?</label></div>                        </div>                        <div style="margin-top:-5px;">                            <textarea class="form-control no-max-width" style="cursor: not-allowed;" rows="5" readonly ng-model="previewText"></textarea>                        </div>                    </div>                    <div class="ares-mask-layer" style="height:468px;width:239px" ng-if="isViewMode" />                    <label class="has-error label label-danger" ng-if="isTemplateInvalid">请选择短信模版</label>                </div>            </div>            <div id="rightPanel" class="col-sm-9" style="height:100%;padding:5px;">                <div>                    <table style="width:100%;">                        <tr>                            <td style="width:100px;" ng-hide="criteria!=null">                                <button type="button" class="btn btn-default" ng-disabled="isViewMode"                                        ng-click="checkIsTemporarily()"                                        sensors-enabled="true" sensors-event-name="ShortMessageBatchEdit"                                        sensors-event-type="添加收件人">                                    添加收件人                                </button>                            </td>                            <td ng-show="itemPage.totalCount > 0" valign="bottom">                                已添加                                <span style="color:red;">{{itemPage.totalCount}}</span>                                人                                <span ng-if="criteria">,&nbsp;全选情况下只显示当前页患者【发送时将过滤没有手机号的患者】</span>                                <!--,最多<span style="color:red;">500</span>人-->                            </td>                            <td>                                <div ng-show="itemPage.pageCount > 1&&!criteria" class="pull-right" style="margin-top:-37px;height:20px">                                    <div pagination total-items="itemPage.totalCount" items-per-page="itemPage.pageSize"                                         ng-model="pageIndex" ng-change="onItemPageChanged(pageIndex)"                                         max-size="maxPageCount" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                                         class="pagination" boundary-links="true"></div>                                </div>                            </td>                        </tr>                    </table>                </div>                <div style="margin: 5px 0">                    <div id="patientList" style="height: 545px;overflow-y:auto"></div>                </div>                <!--<div>                    <div style="display:inline-block;margin-top:10px;">                        <label class="radio-inline" style="padding-top: 0;">                            <input type="radio" name="sendType" ng-value="true" ng-model="shortMessageBatch.manualSend">手动发送                        </label>                        <label class="radio-inline" style="padding-top: 0;">                            <input type="radio" name="sendType" ng-value="false" ng-model="shortMessageBatch.manualSend">定时发送                        </label>                    </div>                    <div ng-show="!shortMessageBatch.manualSend" style="display:inline-block;margin-top:5px;">                        <input type="text" id="scheduleTime" name="scheduleTime" class="form-control" kendo-date-picker k-ng-model="shortMessageBatch.scheduleTime" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                    </div>                </div>-->            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer">        <div class="pull-left" style="display: inline; margin-left: -250px;">            <label style=" text-align: left;margin-left:15px;margin-top:-5px;color:red">                按照实际发送条数计费。            </label>            <label style=" text-align: left;margin-left:5px;margin-top:-5px;">                短信余量<span style="font-size: 25px; margin-left: 20px;margin-top:5px;" ng-style="{\'color\':needWarn?\'red\':\'#0094ff\'}">{{remainedCount}}</span>            </label>        </div>        <div class="pull-right" style="display:inline;">            <label style="display:inline;">自动忽略</label>            <input style="width:60px;" kendo-numeric-text-box k-min="0" k-max="9999" k-on-change="onIgnoreDayChange(kendoEvent)" k-options="{format: \'#\'}" k-ng-model="ignoreDay" ng-disabled="isViewMode" />            <!--<input class="form-control" style="display:inline;width:60px;" k-on-changed="" type="number" min="0" ng-model="ignoreDay" />-->            <label style="display:inline;">天内群发相同模板的患者</label>            <button type="button" class="btn btn-default" ng-click="send()" ng-if="!isViewMode">发送</button>            <button type="button" class="btn btn-default" ng-click="ok()" ng-if="!isViewMode">保存</button>            <button type="button" class="btn btn-default" ng-click="cancel()" ng-if="!isViewMode">关闭</button>        </div>    </div></div>');templateCache.put('/app/short-message/views/short-message-batch-list-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <div class="form-group" style="padding-left:10px; margin-top:10px">            <button type="button" class="btn btn-default" ng-click="createBatch()" sensors-enabled="true" sensors-event-name="ShortMessageBatchList" sensors-event-type="新建群发">                <span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span> 新建群发            </button>            <button type="button" class="btn btn-default" ng-click="copyBatch()" ng-disabled="!selectedItem">                <span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span> 复制群发            </button>            <button type="button" class="btn btn-default" style="margin-left:10px;"                    ng-click="refresh()">                <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> 刷新            </button>        </div>        <div id="batchList" style="max-width:900px;overflow: auto;"></div>    </div></div>');templateCache.put('/app/short-message/views/short-message-batch-patient-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">添加收件人</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:5px;">        <div>            <table style="margin:10px;margin-left: 40px;">                <tr>                    <td style="width:50px;">                        <label>姓&nbsp;&nbsp;&nbsp;名</label>                    </td>                    <td style="width:190px;">                        <input id="patientNameInput" type="text" class="form-control" style="width:130px;">                    </td>                    <td style="width:70px;">                        <label>初诊日期</label>                    </td>                    <td style="width: 130px">                        <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="dateRange.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                    </td>                    <td style="padding-left: 5px; padding-right: 5px;width:10px;">                        <label>-</label>                    </td>                    <td style="width: 190px; ">                        <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="dateRange.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                    </td>                    <td style="width:74px">                        <label>初诊医生</label>                    </td>                    <td>                        <input id="apptDoctorDropDown" type="text" class="form-control" style="width:130px;">                    </td>                </tr>            </table>        </div>        <div>            <table style="margin:10px;margin-left: 40px;">                <tr>                    <td style="width:50px;">                        <label>病历号</label>                    </td>                    <td style="width:190px;">                        <input id="privateIdInput" type="text" class="form-control" style="width:130px;">                    </td>                    <td style="width:70px;">                        <label>患者来源</label>                    </td>                    <td style="width:190px;">                        <input id="patientSourceDropDown" type="text" class="form-control" style="width:130px;">                    </td>                    <td style="width:70px;">                        <label>会员类型</label>                    </td>                    <td style="width:152px;">                        <input id="membershipClassDropDown" type="text" class="form-control" style="width:130px;">                    </td>                    <td>                        <button type="button" ng-click="search(pageIndex)" style="width:130px;" class="btn btn-default">查询</button>                    </td>                </tr>            </table>        </div>        <div style="margin-top:10px;">            <div id="patientList" style="height:375px; width:980px"></div>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <table>            <tr>                <td style="width:850px">                    <div ng-show="searchResult.pageCount > 1" style="margin-top: -23px;height:50px;float:left;">                        <div pagination total-items="searchResult.totalCount" items-per-page="searchResult.pageSize"                             ng-model="pageIndex" ng-change="onPageChanged(pageIndex)"                             max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                             class="pagination" boundary-links="true"></div>                    </div>                </td>                <td><button type="button" style="margin-right:10px;" class="btn btn-default" ng-click="cancel()">关闭</button></td>                <td><button type="button" style="margin-right:10px;" class="btn btn-primary" ng-click="onBatchAdd()">保存选中</button></td>                <td><button type="button" class="btn btn-primary" ng-click="onAddAll()">保存所有</button></td>            </tr>        </table>    </div></div>');templateCache.put('/app/short-message/views/short-message-bill-order-view.html','<div class="ares-main-content" ares-clean-kendo>    <style>        .tableDiv {            border: 1px solid #808080;            border-radius: 5px;            height: 70px;            width: 150px;            text-align: center;            vertical-align: middle;            display: table-cell;            min-width: 150px;        }        .center {            text-align: center;        }        .divTable {            border: 1px solid #808080;            border-radius: 5px;            height: 60px;            width: 150px;            min-width: 150px;            text-align: center;            vertical-align: middle;            display: table-cell;        }    </style>    <div style="background-color: #F5F5F5; width: 100%; height: 100%; position: absolute; ">        <div style="width: 100%; margin-top: 20px;" class="col-sm-12">            <div style="background-color: white; min-height: 300px; margin: 5px; ">                <div style="margin-left:20px;padding-top:20px;">                    <table>                        <tr>                            <td style="padding-left: 5px; padding-right: 5px;">从</td>                            <td style="width: 130px">                                <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM\'" k-parse-formats="[\'yyyyMM\']" style="width: 130px;">                            </td>                            <td style="padding-left: 5px; padding-right: 5px;">到</td>                            <td style="width: 130px; ">                                <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM\'" k-parse-formats="[\'yyyyMM\']" style="width: 130px; ">                            </td>                            <td>                                <button type="button" class="btn btn-default" ng-click="search()" style="margin-left:20px;">                                    <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                                </button>                            </td>                        </tr>                    </table>                </div>                <div id="billOrderList" style="height:375px; width:980px;overflow-x:auto;"></div>                <table>                    <tr>                        <td style="width:850px">                            <div style="float:left;padding-left:5px;">                                <label style="display:inline" ng-show="addBillOrderIndexs.length>0">已选中</label>                                <label style="display:inline;color:red" ng-show="addBillOrderIndexs.length>0">{{addBillOrderIndexs.length}}</label>                                <label style="display:inline" ng-show="addBillOrderIndexs.length>0">条</label>                            </div>                        </td>                    </tr>                </table>            </div>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/short-message/views/short-message-charge-view.html','<div class="ares-main-content" ares-clean-kendo>    <style>        .tableDiv {            border: 1px solid #808080;            border-radius: 5px;            height: 70px;            width: 150px;            text-align: center;            vertical-align: middle;            display: table-cell;            min-width: 150px;        }        .center {            text-align: center;        }        .divTable {            border: 1px solid #808080;            border-radius: 5px;            height: 60px;            width: 150px;            min-width: 150px;            text-align: center;            vertical-align: middle;            display: table-cell;        }    </style>    <div style="height: 100%; position: absolute; " ng-style="{\'background-color\': isAres3 ? \'#fff\' : \'#f5f5f5\', \'width\': isAres3 ? \'calc(100% - 16px)\' : \'100%\', \'left\': isAres3 ? \'8px\' : \'auto\'}">        <div style="background-color:white;width:75%; float:left;margin-left:20px;margin-top:25px;height:260px;">            <div class="col-sm-12" style="margin-top:20px;">                <label class="col-sm-2" style="margin-top:5px">充值方式</label>                <div class="col-sm-2" style="margin-left: -30px; cursor: pointer;">                    <div style="float: left; margin-bottom: -45px; margin-left: 1px;" ng-show="selectedPayType==\'Ali\'">                        <img src="../../../app-resource/images/short-message-charge/check.png" />                    </div>                    <div class="divTable" ng-style="{\'border\':selectedPayType!=\'Ali\'?\'1px solid #808080\':\'1px solid #00A6C9\'}" ng-click="onTypeClick(\'Ali\')">                        <img src="../../../app-resource/images/short-message-charge/alipay.png" ng-hide="selectedPayType==\'Ali\'" style="max-width: 80px;" />                        <img src="../../../app-resource/images/short-message-charge/alipay_select.png" ng-show="selectedPayType==\'Ali\'" style="max-width: 80px;" />                    </div>                </div>                <div class="col-sm-2" style="margin-left: 3%; cursor: pointer;">                    <div style="float: left; margin-bottom: -45px; margin-left: 1px;" ng-show="selectedPayType==\'Weixin\'">                        <img src="../../../app-resource/images/short-message-charge/check.png" />                    </div>                    <div class="divTable" ng-style="{\'border\':selectedPayType!=\'Weixin\'?\'1px solid #808080\':\'1px solid #00A6C9\'}" ng-click="onTypeClick(\'Weixin\')">                        <img src="../../../app-resource/images/short-message-charge/wechat.png" ng-hide="selectedPayType==\'Weixin\'" style="max-width: 80px;" />                        <img src="../../../app-resource/images/short-message-charge/wechat_select.png" ng-show="selectedPayType==\'Weixin\'" style="max-width: 80px;" />                    </div>                </div>                <div class="col-sm-2" style="margin-left: 3%; cursor: pointer;">                    <div style="float: left; margin-bottom: -45px; margin-left: 1px;" ng-show="selectedPayType==\'Point\'">                        <img src="../../../app-resource/images/short-message-charge/check.png" />                    </div>                    <div class="divTable" ng-style="{\'border\':selectedPayType!=\'Point\'?\'1px solid #808080\':\'1px solid #00A6C9\'}" ng-click="onTypeClick(\'Point\')">                        <p style="margin: 0; font-weight: bold;">积分兑换</p>                        <span style=" font-size: 12px;">当前积分：{{point}}</span>                    </div>                </div>                <div class="col-sm-2" style="margin-left: 3%; cursor: pointer;">                    <div style="float: left; margin-bottom: -45px; margin-left: 1px;" ng-show="selectedPayType==\'Service\'">                        <img src="../../../app-resource/images/short-message-charge/check.png" />                    </div>                    <div class="divTable" ng-style="{\'border\':selectedPayType!=\'Service\'?\'1px solid #808080\':\'1px solid #00A6C9\'}" ng-click="onTypeClick(\'Service\')">                        <span>联系客服充值</span>                    </div>                </div>            </div>            <div class="col-sm-12" style="margin-top:30px;" ng-hide="selectedPayType==\'Point\'">                <label class="col-sm-2" style="margin-top:5px">充值金额</label>                <div class="col-sm-2" style="margin-left: -30px; cursor: pointer;">                    <div style="float: left; margin-bottom: -45px; margin-left: 1px;" ng-show="clickCount==100">                        <img src="../../../app-resource/images/short-message-charge/check.png" />                    </div>                    <div class="tableDiv" ng-style="{\'border\':clickCount!=100?\'1px solid #808080\':\'1px solid #00A6C9\'}" ng-click="onClick(\'100\')">                        <p style=" font-size: 18px; margin-bottom: -5px; margin-left: -8px;">￥100</p>                        <span style=" font-size: 12px;">1250条</span>                    </div>                </div>                <div class="col-sm-2" style="margin-left: 3%; cursor: pointer;">                    <div style="float: left; margin-bottom: -45px; margin-left: 1px;" ng-show="clickCount==300">                        <img src="../../../app-resource/images/short-message-charge/check.png" />                    </div>                    <div class="tableDiv" ng-style="{\'border\':clickCount!=300?\'1px solid #808080\':\'1px solid #00A6C9\'}" ng-click="onClick(\'300\')">                        <p style=" font-size: 18px; margin-bottom: -5px; margin-left: -8px;">￥300</p>                        <span style=" font-size: 12px;">3750条</span>                    </div>                </div>                <div class="col-sm-2" style="margin-left: 3%; cursor: pointer;">                    <div style="float: left; margin-bottom: -45px; margin-left: 1px;" ng-show="clickCount==500">                        <img src="../../../app-resource/images/short-message-charge/check.png" />                    </div>                    <div class="tableDiv" ng-style="{\'border\':clickCount!=500?\'1px solid #808080\':\'1px solid #00A6C9\'}" ng-click="onClick(\'500\')">                        <p style=" font-size: 18px; margin-bottom: -5px; margin-left: -8px;">￥500</p>                        <span style=" font-size: 12px;">6250条</span>                    </div>                </div>                <div class="col-sm-2" style="margin-left: 3%; cursor: pointer;">                    <div style="float: left; margin-bottom: -45px; margin-left: 1px;" ng-show="clickCount==1000">                        <img src="../../../app-resource/images/short-message-charge/check.png" />                    </div>                    <div class="tableDiv" ng-style="{\'border\':clickCount!=1000?\'1px solid #808080\':\'1px solid #00A6C9\'}" ng-click="onClick(\'1000\')">                        <p style=" font-size: 18px; margin-bottom: -5px; margin-left: -8px;">￥1000</p>                        <span style=" font-size: 12px;">12500条</span>                    </div>                </div>            </div>            <div class="col-sm-12" style="margin-top:30px;" ng-show="selectedPayType==\'Point\'">                <label class="col-sm-2" style="margin-top:5px">兑换积分</label>                <div class="col-sm-2" style="margin-left: -30px; cursor: pointer;">                    <div style="float: left; margin-bottom: -45px; margin-left: 1px;" ng-show="clickCount==100">                        <img src="../../../app-resource/images/short-message-charge/check.png" />                    </div>                    <div class="tableDiv" ng-style="{\'border\':clickCount!=100?\'1px solid #808080\':\'1px solid #00A6C9\'}" ng-click="onClick(\'100\')">                        <p style=" font-size: 18px; margin-bottom: -5px; margin-left: -8px;">1000积分</p>                        <span style=" font-size: 12px;">125条</span>                    </div>                </div>                <div class="col-sm-2" style="margin-left: 3%; cursor: pointer;">                    <div style="float: left; margin-bottom: -45px; margin-left: 1px;" ng-show="clickCount==200">                        <img src="../../../app-resource/images/short-message-charge/check.png" />                    </div>                    <div class="tableDiv" ng-style="{\'border\':clickCount!=200?\'1px solid #808080\':\'1px solid #00A6C9\'}" ng-click="onClick(\'200\')">                        <p style=" font-size: 18px; margin-bottom: -5px; margin-left: -8px;">2000积分</p>                        <span style=" font-size: 12px;">250条</span>                    </div>                </div>                <div class="col-sm-2" style="margin-left: 3%; cursor: pointer;">                    <div style="float: left; margin-bottom: -45px; margin-left: 1px;" ng-show="clickCount==500">                        <img src="../../../app-resource/images/short-message-charge/check.png" />                    </div>                    <div class="tableDiv" ng-style="{\'border\':clickCount!=500?\'1px solid #808080\':\'1px solid #00A6C9\'}" ng-click="onClick(\'500\')">                        <p style=" font-size: 18px; margin-bottom: -5px; margin-left: -8px;">5000积分</p>                        <span style=" font-size: 12px;">625条</span>                    </div>                </div>                <div class="col-sm-2" style="margin-left: 3%; cursor: pointer;">                    <div style="float: left; margin-bottom: -45px; margin-left: 1px;" ng-show="clickCount==1000">                        <img src="../../../app-resource/images/short-message-charge/check.png" />                    </div>                    <div class="tableDiv" ng-style="{\'border\':clickCount!=1000?\'1px solid #808080\':\'1px solid #00A6C9\'}" ng-click="onClick(\'1000\')">                        <p style=" font-size: 18px; margin-bottom: -5px; margin-left: -8px;">10000积分</p>                        <span style=" font-size: 12px;">1250条</span>                    </div>                </div>            </div>            <div class="col-sm-12" style=" text-align: center; margin-top: 20px; margin-left: 5%">                <button class="btn btn-primary" style="width:120px;" ng-click="pay()">{{btnName}}</button>            </div>        </div>        <div style="background-color: white; width: 20%; float: left; margin-left: 20px; margin-top: 25px; height: 260px; right: 20px; position: inherit;">            <div style="text-align: center; width: 100%; height: 240px">                <p style=" font-size: 35px; margin-top: 90px; margin-left: -8px; color: #0094ff" ng-style="{\'color\':needWarn?\'red\':\'#0094ff\'}">{{remainedCount}}</p>                <span style=" font-size: 14px;">短信余量</span>            </div>        </div>        <div style="width: 100%; margin-top: 20px;" class="col-sm-12">            <div style="background-color: white; min-height: 300px; margin: 5px; ">                <div style="margin-left:20px;padding-top:20px;">                    <label>我的订单</label>                </div>                <div>                    <table style="width:100%">                        <tr style="border-top: 2px solid #00a6c9; border-bottom: 1px solid #00a6c9; height: 45px; ">                            <th width="9%" style="color: #A5A8B1;" class="center">操作</th>                            <th width="9%" style="color: #A5A8B1;" class="center">时间</th>                            <th width="9%" style="color: #A5A8B1;" class="center">订单号</th>                            <th width="9%" style="color: #A5A8B1;" class="center">短信(条)</th>                            <th width="9%" style="color: #A5A8B1;" class="center">金额(元)</th>                            <th width="9%" style="color: #A5A8B1;" class="center">积分</th>                            <th width="9%" style="color: #A5A8B1;" class="center">操作人</th>                            <th width="9%" style="color: #A5A8B1;" class="center">支付方式</th>                            <th width="9%" style="color: #A5A8B1;" class="center">订单状态</th>                            <th width="9%" style="color: #A5A8B1;" class="center">备注</th>                            <th width="9%" style="color: #A5A8B1;" class="center">可用操作</th>                        </tr>                        <tbody>                            <tr ng-repeat="item in shortMessageOrders" style="height: 55px; border-bottom: 1px solid black; ">                                <td width="9%" align="center">{{item.payChannel|toShortMessageOrderType}}</td>                                <td width="9%" align="center">{{item.recordCreatedTime|toLongDateTimeString}}</td>                                <td width="9%" align="center">                                    <span title="{{item.payOrderNo}}">{{item.payOrderNoStr}}</span>                                </td>                                <td width="9%" align="center">{{item.count}}</td>                                <td width="9%" align="center">{{item.amount}}</td>                                <td width="9%" align="center">{{item.point}}</td>                                <td width="9%" align="center">{{item.operator}}</td>                                <td width="9%" align="center">{{item.payChannel|toShortMessageOrderPayChannel}}</td>                                <td width="9%" align="center">{{item.orderStatus|toShortMessageOrderStatus}}</td>                                <td width="9%" align="center" style="cursor:text" ng-click="onNotesClicked($index)" ng-hide="item.isShowNotesInput">                                    <span>{{item.notes}}</span>                                </td>                                <td width="9%" align="center" ng-show="item.isShowNotesInput">                                    <input id="orderNotes_{{$index}}" type="text" ng-model="item.notes" class="form-control" ng-blur="onNotesClicked($index)" />                                </td>                                <td width="9%" align="center">                                    <a ng-click="deleteOrder(item.id)" title="删除订单" ng-show="item.orderStatus != 2 && item.orderStatus != 3">                                        <span class="glyphicon glyphicon glyphicon-trash"></span>                                    </a>                                </td>                            </tr>                        </tbody>                    </table>                </div>            </div>        </div>        <div style="width: 100%; margin-top: 20px;" class="col-sm-12">            <div style="background-color: white; min-height: 300px; margin: 5px; ">                <div style="margin-left:20px;padding-top:20px;">                    <label>充值记录</label>                </div>                <div>                    <table style="width:100%">                        <tr style="border-top: 2px solid #00a6c9; border-bottom: 1px solid #00a6c9; height: 45px; ">                            <th width="14%" style="color: #A5A8B1;" class="center">操作</th>                            <th width="14%" style="color: #A5A8B1;" class="center">时间</th>                            <th width="14%" style="color: #A5A8B1;" class="center">短信(条)</th>                            <th width="14%" style="color: #A5A8B1;" class="center">金额(元)</th>                            <th width="14%" style="color: #A5A8B1;" class="center">积分</th>                            <th width="14%" style="color: #A5A8B1;" class="center">备注</th>                            <th width="15%" style="color: #A5A8B1;" class="center">操作人</th>                        </tr>                        <tbody>                            <tr ng-repeat="item in transactions" style="height: 55px; border-bottom: 1px solid black; ">                                <td width="14%" align="center">{{item.transactionType|toShortMessageTransactionType}}</td>                                <td width="14%" align="center">{{item.recordCreatedTime|toLongDateTimeString}}</td>                                <td width="14%" align="center">{{item.transactionCount}}</td>                                <td width="14%" align="center">{{item.price}}</td>                                <td width="14%" align="center">{{item.point}}</td>                                <td width="14%" align="center">{{item.notes}}</td>                                <td width="15%" align="center">{{item.operator}}</td>                            </tr>                        </tbody>                        <tfoot>                            <tr style="height:55px;">                                <td width="14%" align="center">合计</td>                                <td width="14%" align="center"></td>                                <td width="14%" align="center">{{sumTransationsData.sumCount}}</td>                                <td width="14%" align="center">{{sumTransationsData.sumPrice}}</td>                                <td width="14%" align="center">{{sumTransationsData.sumPoint}}</td>                                <td width="14%" align="center"></td>                                <td width="15%" align="center"></td>                            </tr>                        </tfoot>                    </table>                </div>            </div>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/short-message/views/short-message-config-view.html','<div class="ares-main-content" ares-clean-kendo>    <style scoped>        .group-auto-notification-rule-wrapper {            /* color: #575d6a; */        }        .group-auto-notification-rule-wrapper .auto-notification-rule {            min-height: 290px;            min-width: 660px;            margin-top: 6px;            position: relative;        }        .group-auto-notification-rule-wrapper .left-tab {            width: 180px;            background-color: white;        }        .group-auto-notification-rule-wrapper .left-tab ul li {            line-height: 50px;            cursor: pointer;            position: relative;            margin-bottom: 2px;            background-color: #F3F3F3;            text-align: center;        }        .group-auto-notification-rule-wrapper .left-tab ul li.active {            background-color: #00a6c9;            color: #fff;        }        .group-auto-notification-rule-wrapper .left-tab ul li.active::before {            content: \'\';            position: absolute;            width: 0;            height: 0;            bottom: 0;            border-top: 6px solid transparent;            border-bottom: 6px solid transparent;            border-left: 8px solid #00a6c9;            right: 0;            top: 50%;            margin-right: -8px;            margin-top: -6px;        }        .group-auto-notification-rule-wrapper .right-content {            min-width: 500px;            width: 700px;            min-height: 300px;            height: 400px;            border: 2px solid #EDEDED;            margin-left: 10px;        }        .group-auto-notification-rule-wrapper .content-head {            margin: 16px;        }        .group-auto-notification-rule-wrapper .content-head .title {            padding-left: 7px;            font-weight: bold;            font-size: 20px;        }        .group-auto-notification-rule-wrapper .content-head .oper-btn {            margin-top: 7px;            margin-left: 3px;            color: #00a6c9;        }        .group-auto-notification-rule-wrapper .content-body {            padding-left: 100px;        }        .group-auto-notification-rule-wrapper .content-body .search-item {            margin-bottom: 10px;        }        .group-auto-notification-rule-wrapper .content-body .search-item label {            float: left;            font-weight: normal;            line-height: 32px;            margin-right: 10px;        }        .group-auto-notification-rule-wrapper .config-on {            background: transparent url(/Content/imgs/config-on-off.png) no-repeat 0 0 !important;            width: 40px !important;            height: 18px !important;            background-size: cover;            transform: scale(1);            cursor: pointer;        }        .group-auto-notification-rule-wrapper .config-off {            background: transparent url(/Content/imgs/config-on-off.png) no-repeat -40px 0 !important;            width: 40px !important;            height: 18px !important;            background-size: cover;            transform: scale(1);            cursor: pointer;        }        .group-auto-notification-rule-wrapper .footer-oper-btn {            text-align: center;            margin-top: 20px;        }        .group-auto-notification-rule-wrapper .left-tab .btnNew {            background-color: #00D2E5;            border-radius: 30px;            color: white;            width: 150px;            height: 42px;        }        .group-auto-notification-rule-wrapper .k-datetimepicker >span.k-picker-wrap {            padding-right: 33px;        }        .group-auto-notification-rule-wrapper .k-datetimepicker >span.k-picker-wrap > span {            width: 33px;        }        .group-auto-notification-rule-wrapper .k-i-calendar {            display: none;        }    </style>    <div class="group-auto-notification-rule-wrapper">        <div class="warm-info">规则修改将在第二天生效</div>        <div class="auto-notification-rule clearfix">            <div class="left-tab pull-left">                <ul>                    <li style="background-color:white">                        <button type="button" class="btn btn-info btnNew" ng-click="onAdd()">                            添加触发短信规则                        </button>                    </li>                    <li ng-click="onSelectedRule(item)" ng-repeat="item in notificationRules" ng-class="{\'active\':item.selected}">                        <span ng-bind-html="item.showName"></span>                    </li>                </ul>            </div>            <div class="right-content pull-left">                <div class="content-head ares-config-on-off clearfix">                    <div class="title pull-left">执行条件设置</div>                    <div class="oper-btn pull-right" style="margin-right:40px;margin-top:6px;"                         ng-style="{\'color\':selectedMessageRule.isEnable?\'#9397a2\':\'#00a6c9\'}"                        >{{!selectedMessageRule.isEnable?\'未执行\':\'执行中\'}}</div>                    <div class="pull-right oper-btn" ng-class="selectedMessageRule.isEnable ? \'config-on\':\'config-off\'"                        ng-click="setEnable()">&nbsp;</div>                </div>                <div class="content-body">                    <div class="search-item clearfix">                        <table>                            <tbody>                                <tr>                                    <td><label>事件名称</label></td>                                    <td>                                        <select id="events" style="width:130px; min-width:130px" class="form-control"></select>                                    </td>                                </tr>                            </tbody>                        </table>                    </div>                    <div class="search-item clearfix">                        <label>执行时间</label>                        <input id="selectDay" type="text" style="width:130px;max-width:130px;" class="form-control" />                        <input id="dateTimeSpan" type="text" style="width:100px; display:inline-block;"                               class="form-control"/>                    </div>                    <div class="search-item clearfix">                        <label>选择模版</label>                        <input id="messageTemplate" type="text" style="width:130px;max-width:130px;" class="form-control" />                    </div>                    <div class="search-item clearfix">                        <label>短信预览</label>                        <textarea rows="5" class="form-control" ng-model="selectedMessageRuleContent"                            style="width:350px;max-width:340px;" disabled />                        </div>                </div>                <div class="footer-oper-btn">                    <button type="button" name="button" class="lc-btn lc-btn-primary" ng-click="onSave()">确认</button>                    <button type="button" name="button" ng-show="!isAdd" class="lc-btn lc-btn-info" ng-click="onDelete()">删除</button>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/short-message/views/short-message-dashboard-view.html','<div class="main-content" style="margin:0; background-color: #fff;" ng-style="{\'height\' : isAres3 ? \'calc(100vh - 130px)\' : \'auto\', \'padding\': isAres3 ? \'0px\' : \'10px\'}">    <style scoped>        .widget-info {            padding-top: 20px;        }            .widget-info .left {                float: left;                padding-left: 10px;                width: 60px;            }                .widget-info .left i {                    color: #ffffff;                    font-size: 23px;                    text-align: center;                }                    .widget-info .left i::before {                        display: inline-block;                        height: 48px;                        margin-top: 0;                        padding: 13px;                        width: 48px;                        -webkit-border-radius: 50%;                        -moz-border-radius: 50%;                        border-radius: 50%;                    }                    .widget-info .left i[class*="icon-"] {                        font-size: 22px;                    }            .widget-info .right {                float: left;                padding-left: 10px;            }                .widget-info .right .number {                    font-family: \'Lato\', \'Open Sans\', Arial;                    font-weight: 700;                    font-size: 20px;                    margin-bottom: 2px;                }                .widget-info .right .text {                    color: #A3A3A3;                    font-size: 12px;                    text-align: left;                    text-transform: uppercase;                }        i.bg-red::before {            background-color: #C9625F !important;            color: #fff !important;        }        i.bg-pink::before {            background-color: pink !important;            color: #fff !important;        }        i.bg-green::before {            background-color: #18a689 !important;            color: #fff !important;        }        i.bg-blue::before {            background-color: #4584D1 !important;            color: #fff !important;        }    </style>    <div class="row">        <div class="col-md-2 col-xs-3">            <div class="panel">                <div class="panel-content widget-info">                    <div class="row">                        <div class="left">                            <i class="icon-clock bg-green"></i>                        </div>                        <div class="right">                            <p class="number countup">{{summaryData.todayTotalCnt}}</p>                            <p class="text">今日发送短信</p>                        </div>                    </div>                </div>            </div>        </div>        <div class="col-md-2 col-xs-3">            <div class="panel">                <div class="panel-content widget-info">                    <div class="row">                        <div class="left">                            <i class="icon-calendar bg-blue"></i>                        </div>                        <div class="right">                            <p class="number countup">{{summaryData.monthTotalCnt}}</p>                            <p class="text">本月发送短信</p>                        </div>                    </div>                </div>            </div>        </div>        <div class="col-md-2 col-xs-3">            <div class="panel">                <div class="panel-content widget-info">                    <div class="row">                        <div class="left">                            <i class="icon-plus bg-red"></i>                        </div>                        <div class="right">                            <p class="number countup">{{summaryData.totalCnt}}</p>                            <p class="text">累计发送短信</p>                        </div>                    </div>                </div>            </div>        </div>        <div class="col-md-2 col-xs-3">            <div class="panel">                <div class="panel-content widget-info">                    <div class="row">                        <div class="left">                            <i class="icon-pie-chart bg-pink"></i>                        </div>                        <div class="right">                            <p class="number countup" ng-style="{\'color\':needWarn?\'red\':\'black\'}">{{remainedCount}}</p>                            <p class="text">短信余量</p>                        </div>                    </div>                </div>            </div>        </div>    </div>    <div class="row" style="background-color:white;margin-left:2px;padding:10px;">        <table>            <tr>                <td style="padding-left: 10px; padding-right: 10px;">发送时间</td>                <td style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="criteria.dateRange.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="criteria.dateRange.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td style="padding-left: 20px; padding-right: 10px;">统计方式</td>                <td>                    <div>                        <label class="radio-inline">                            <input type="radio" name="statMode" ng-value="1" ng-model="criteria.statMode">日                        </label>                        <label class="radio-inline">                            <input type="radio" name="statMode" ng-value="2" ng-model="criteria.statMode">周                        </label>                        <label class="radio-inline">                            <input type="radio" name="statMode" ng-value="3" ng-model="criteria.statMode">月                        </label>                    </div>                </td>                <td style="width: 50px; padding-left: 20px; padding-right: 10px; ">                    <button type="button" class="btn btn-default" ares-slow-click="search()">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                </td>            </tr>        </table>        <div style="margin-top:10px;">            <div class="chart-block" style="height:400px;">                <div id="trendReport" ng-hide="trendDataEmpty" style="height:400px;"></div>                <div class="info" ng-show="trendDataEmpty">                    <p class="title">{{title}}</p>                    <p class="content">暂无数据</p>                </div>            </div>        </div>        <div style="margin-top:10px;">            <strong>短信说明：</strong>            <ul style="margin-left:20px;">                <li>短信按实际发送量收费，每条短信8分钱；</li>                <li>根据监管部门要求，短信分为普通类和营销类两大类。营销类短信签名只能为【e看牙】；非营销类短信系统默认以【诊所简称】作为短信签名。</li>            </ul>        </div>    </div></div>');templateCache.put('/app/short-message/views/short-message-feedback-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <table>            <tr>                <td style="padding-left: 10px; padding-right: 10px;">                                        <label class="radio-inline">                        <input type="radio" name="dateType" ng-model="searchCriteria.dateType" class="ng-pristine ng-untouched ng-valid" value="0">发送时间                    </label><br>                    <label class="radio-inline">                        <input type="radio" name="dateType" ng-model="searchCriteria.dateType" class="ng-pristine ng-untouched ng-valid" value="1">回复时间                    </label>                </td>                <td style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="searchCriteria.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="searchCriteria.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td style="padding-left: 10px; padding-right: 10px;">患者</td>                <td style="width:100px">                    <input type="text" class="form-control" style="width:100px" ng-model="searchCriteria.patientName">                </td>                <td style="padding-left: 10px; padding-right: 10px;">手机</td>                <td style="width:130px">                    <input type="text" class="form-control" style="width:130px" ng-model="searchCriteria.mobile">                </td>                <td style="width: 50px; padding-left: 10px; padding-right: 10px; ">                    <a class="btn btn-default" ares-slow-click="refreshGrid()">查询</a>                </td>            </tr>        </table>    </div>    <div style="margin-top:5px;">        <div id="shortMessageList"></div>    </div></div>');templateCache.put('/app/short-message/views/short-message-history-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <table>            <tr>                <td style="padding-left: 10px; padding-right: 10px;">发送时间</td>                <td style="width: 130px">                    <input id="startDatePicker" type="text" class="form-control" min="minDay" kendo-date-picker k-ng-model="searchCriteria.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;">                </td>                <td style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="searchCriteria.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; ">                </td>                <td style="padding-left: 10px; padding-right: 10px;">发送状态</td>                <td style="width:100px">                    <input id="statusInput" type="text" class="form-control" style="width:100px">                </td>                <td style="padding-left: 10px; padding-right: 10px;"><span style="margin-left:20px;margin-right:30px;">发送人</span></td>                <td>                    <div class="col-sm-4" style="margin-left:-50px">                        <input id="sender" type="text" class="form-control" style="width:150px;" />                    </div>                </td>                <td style="padding-left: 10px; padding-right: 10px;">患者</td>                <td style="width:100px">                    <input type="text" class="form-control" style="width:100px" ng-model="searchCriteria.patientName">                </td>                <td style="width: 50px; padding-left: 10px; padding-right: 10px; ">                    <a class="btn btn-default" ares-slow-click="refreshGrid()">查询</a>                </td>            </tr>        </table>    </div>    <div style="margin-top:10px;">        <div id="shortMessageList"></div>    </div></div>');templateCache.put('/app/short-message/views/short-message-home-view.html','<ares-tab states="states"></ares-tab>');templateCache.put('/app/short-message/views/short-message-search-patient-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">添加收件人</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:5px;">        <div style="margin-top:0;">            <table>                <tr>                    <td>                        <button type="button" class="btn btn-default" ng-click="openSearchConfigDialog()" style="margin-left:0;">                            <span class="glyphicon glyphicon-plus"></span> 创建新筛选                        </button>                    </td>                    <td>                        <input id="searchDropDown" type="text" class="form-control" style="width:240px;">                    </td>                    <td style="padding-left:10px;">                        <input class="form-control" style="width:200px" ng-model="searchText" placeholder="姓名/拼音/手机/病历号" />                    </td>                    <td>                        <button type="button" class="btn btn-default" ng-click="search()" style="margin-left:20px;">                            <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                        </button>                    </td>                </tr>            </table>        </div>        <div style="margin-top:5px;">            <div id="patientList" style="height:375px; width:980px;overflow-x:auto;"></div>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <table>            <tr>                <td style="width:850px">                    <div ng-show="searchData.pageCount > 1" style="margin-top: -20px;height:50px;float:left;">                        <div pagination total-items="searchData.totalCount" items-per-page="searchData.pageSize"                             ng-model="pageIndex" ng-change="onPageChanged(pageIndex)"                             max-size="5" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                             class="pagination" boundary-links="true"></div>                    </div>                    <div style="float:left;padding-left:5px;">                        <input type="number" min="1" max="300" ng-keypress="onEnter()" class="form-control" style="min-width:70px; width:70px;display:inline;" ng-model="pageSize" />                        <label style="display:inline">行/页</label>                        <label style="display:inline" ng-show="addPatientIds.length>0">,已选中</label>                        <label style="display:inline;color:red" ng-show="addPatientIds.length>0">{{addPatientIds.length}}</label>                        <label style ="display:inline" ng-show="addPatientIds.length>0">条</label>                    </div>                </td>                <td><button type="button" style="margin-right:5px;" class="btn btn-primary" ng-click="onBatchAdd()">保存选中</button></td>                <td><button type="button" class="btn btn-default" ng-click="cancel()">关闭</button></td>                               <!--<td><button type="button" class="btn btn-primary" ng-click="onAddAll()">保存所有</button></td>-->            </tr>        </table>    </div></div>');templateCache.put('/app/short-message/views/short-message-statistics-view.html','<div class="short-message-statistics-view enyo" ares-clean-kendo>    <style scoped>        .short-message-statistics-view .k-grid td {            text-align: left;        }        .short-message-statistics-view .k-grid .k-grid-content .cell-center {            text-align: center;        }        .short-message-statistics-view .k-grid .k-grid-content td .btn-group button {            border: none;            color: #00a6c9;            background: transparent;        }        .short-message-statistics-view .statistics-list-search .search-item .k-input {            box-shadow: none;        }        .short-message-statistics-view .statistics-list-search .search-item button.btn {            margin-left: 10px;            height: 32px;        }        .short-message-statistics-view .short-message-grid {            min-height: 300px;        }        .short-message-statistics-view .short-message-grid .k-grid-content td span.label {            margin-left: 5px;        }    </style>    <div class="statistics-list-search clearfix">        <div class="form-inline">            <div class="search-item pull-left" style="margin-right:5px;border-left:none;">                <timer-range-picker time-range-date="timeSpan" on-changed="onDateRangeChanged"></timer-range-picker>            </div>            <div class="search-item pull-left" ng-if=\'isGroup\'>                <office-selector class="pull-left"                                 office-tree-data="officeTreeData"                                 select-mode="allSeparate"                                 selected-office-ids="selectedOfficeIds"                                 on-selected="onOfficeSelected(selectedOffices)" style="width: 120px"></office-selector>            </div>            <div class="search-item pull-left" style="margin-left: 20px">                <button type="button" class="btn btn-primary" ng-click="search()">查询</button>            </div>            <div class="form-group pull-right">                <button class="lc-btn lc-btn-excel" ares-authorize="shortMessage.statisticsExcel" ng-click="exportExcel()"><i class="iconfont icon-excel"></i><span>导出Excel</span></button>            </div>        </div>    </div>    <div class="ares-lc-k-grid" style="margin-top:10px;" ng-show="pageData">        <div class="short-message-grid" id="shortMessageGrid">        </div>        <div class="table-footer lc-table-footer">            <div pagination total-items="pageData.totalCount" items-per-page="pageData.pageSize" ng-model="pageIndex" ng-change="onPageChanged(pageIndex)" max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true" class="pagination new-page-color"                 boundary-links="true" style="margin:0;"></div>            <ul class="pagination new-page-color pagination-to-page" style="margin:0">                <li class="disabled">                    <a style="padding: 0;padding-left: 5px;padding-right: 5px;">                        每页                        <input kendo-numeric-text-box k-min="1" k-max="50" k-ng-model="pageSize" style="width:63px;" k-on-change="onPageSizeChanged(pageSize)" k-options="{format: \'#\', decimals:0}" />                        条                    </a>                </li>            </ul>            <ul class="pagination" style="margin:0">                <li class="disabled"><a>共{{pageData.totalCount}}条</a></li>            </ul>        </div>    </div>    <div class="empty-list-hint" ng-show="isGroup && !pageData"         style="position: absolute;top: 50%; left: 50%; margin-left: -150px;">        <div style="margin-left: calc(50% - 150px); float: left;">            <i class="iconfont icon-jinggao" style="font-size: 110px; color: #f7a51d;"></i>        </div>        <div style="margin-left: 20px; height: 150px; float: left; display: flex; align-items: center;">            <div>                <div style="color:#575d6a;font-size: 18px;">请选择诊所</div>            </div>        </div>    </div></div>');templateCache.put('/app/short-message/views/short-message-template-config-view.html','<div id="short-message-template-config-wrap" class="ares-main-content enyo" ares-clean-kendo>    <style>        #short-message-template-config-wrap {        }            #short-message-template-config-wrap .action-btn {                font-size: 0;            }                #short-message-template-config-wrap .action-btn a {                    display: inline-block;                    vertical-align: middle;                    font-size: 14px;                    margin: 0 20px 0 0;                }                    #short-message-template-config-wrap .action-btn a:last-child {                        margin-right: 0;                    }            #short-message-template-config-wrap .config-list-table-page {                text-align: center;            }        #short-message-template-config-wrap .category {                display: inline-block;                height: 50px;        }           #short-message-template-config-wrap .short-message-template-category-wrap {                   display: inline-block;                    vertical-align: top;                    width: 262px;                    border: 1px solid #e3e3e3;                    height: 500px;                    overflow-y: auto;            }                #short-message-template-config-wrap .short-message-template-category-wrap .k-state-disabled input[type=\'text\'] {                    background-color: #ccc;                    cursor: not-allowed;                }                #short-message-template-config-wrap .short-message-template-category-wrap .template-category-header {                    width: 100%;                    background-color: #e3e3e3;                    height: 40px;                    padding: 5px;                    font-size: 0;                }                    #short-message-template-config-wrap .short-message-template-category-wrap .template-category-header label {                        display: inline-block;                        font-size: 16px;                        color: #666;                        vertical-align: middle;                        height: 30px;                        width: 200px;                        text-align: left;                        padding-left: 25px;                        margin: 0;                        line-height: 30px;                    }                            #short-message-template-config-wrap .short-message-template-category-wrap .template-category {                    width: 100%;                }                    #short-message-template-config-wrap .short-message-template-category-wrap .template-category .template-category-item {                        position: relative;                        padding: 5px;                        border-bottom: 1px solid #e3e3e3;                        min-height: 46px;                        display: table;                        background-color: #fff;                    }                    #short-message-template-config-wrap .short-message-template-category-wrap .template-category .selected-category-item::before {                        content: \'\';                        width: 5px;                        height: 47px;                        background: #008aa8;                        position: absolute;                        top: -1px;                        left: 0;                    }                    #short-message-template-config-wrap .short-message-template-category-wrap .template-category .category-item-title {                        display: table-cell;                        line-height: 20px;                        margin: 0;                        width: 190px;                        padding-left: 25px;                        vertical-align: middle;                    }                    #short-message-template-config-wrap .short-message-template-category-wrap .template-category .selected-category-item .category-item-title {                        color: #008aa8;                    }                    #short-message-template-config-wrap .short-message-template-category-wrap .template-category .category-item-action {                        display: table-cell;                        padding-left: 10px;                        height: 20px;                        width: 80px;                        vertical-align: middle;                        font-size: 0;                    }                        #short-message-template-config-wrap .short-message-template-category-wrap .template-category .category-item-action a {                            display: none;                            font-size: 17px;                            width: 20px;                            height: 20px;                        }                    #short-message-template-config-wrap .short-message-template-category-wrap .template-category .template-category-item:hover {                        background-color: #ebfcff;                    }                        #short-message-template-config-wrap .short-message-template-category-wrap .template-category .template-category-item:hover .category-item-action a {                            display: inline-block;                        }                             #short-message-template-config-wrap .short-message-template-detail {                display: inline-block;                vertical-align: top;                /* max-width: 1100px;                width: calc(100% - 310px);                margin-left: 30px; */            }           #short-message-template-config-wrap .btn-default            {                float: right;                margin-bottom: 5px;                margin-right: 0px;           }             #short-message-template-config-wrap .show-label {            white-space: nowrap;            text-overflow: ellipsis;            -o-text-overflow: ellipsis;            overflow: hidden;            width: 140px;        }        #short-message-template-config-wrap .hover-line:hover {            background: #E0FAFF;            border: 1px solid #D6D9DF;        }       #short-message-template-config-wrap .div-selected {            background-color: #00a9c8;            color: white;        }       #short-message-template-config-wrap .div-disabed {            background-color: #D6D9DF;            color: #666A73;        }       #short-message-template-config-wrap .span-disable {            color: #9397A2;            font-size:14px;        }       #short-message-template-config-wrap .line-div {            height: 35px;            border-top: 1px solid #e6e4e1;            line-height: 35px;            cursor: pointer;            text-align: left;            padding-top: 5px;            padding-bottom: 5px;        }        #short-message-template-config-wrap .short-message-template-category-header        {          font-size: 16px;        background-color: #00A6C9;        color: #FFFFFF;        padding-left: 5px;        height: 36px;        vertical-align: middle;        line-height: 36px;        }    </style>    <div style="margin-top: 10px;">        <div style="display: inline-block; width: 262px;">            <div>                <button class="btn btn-default"                    ng-click="createShortmessageCategory()">                    新建类别</button>            </div>            <div class="short-message-template-category-wrap">                <div class="short-message-template-category-header">模板类别</div>                <div ng-repeat="item in templateCategories" class="hover-line">                            <div class="line-div"                                 ng-class="item.isClicked ? \'div-selected\':\'\'" ng-click="onClicked(item,$index)" ng-mouseenter="onHover(item,true)" ng-mouseleave="onHover(item,false)">                                <div style="height:25px;line-height:25px;">                                    <label style="cursor:pointer;margin-left:10px;" class="show-label" title="{{item.itemName}}">{{item.itemName}}</label>                                    <div style="float: right; margin-right: 5px;" ng-if="item.isHover">                                        <span class="glyphicon glyphicon-pencil" title="修改" ng-click="editShortmessageCategory(item,$event)"></span>                                    <!--     <span class="iconfont icon-jinyong" title="禁用" style="margin-left: 5px;" ng-click="disable($index,level1Source,item)"></span> -->                                        <span class="glyphicon glyphicon-trash" title="删除" style="margin-left: 5px;" ng-click="remove(item,$event)"></span>                                    </div>                                </div>                            </div>                                          </div>            </div>        </div>        <div style="display: inline-block; width: calc(100% - 290px);                margin-left: 10px;">            <div>                <button class="btn btn-default"                    ng-click="addHandle()">                    新建模板</button>            </div>            <div class="short-message-template-detail">                <div id="templateList"></div>                <div class="config-list-table-page lc-table-footer row">                    <div pagination total-items="pageInfo.totalCount"                        items-per-page="pageInfo.pageSize"                        ng-model="pageInfo.pageIndex" ng-change="refreshGrid()"                        max-size="10"                        first-text="第一页"                        previous-text="前一页"                        next-text="后一页"                        last-text="最后一页"                        rotate="true"                        class="pagination new-page-color" boundary-links="true" style="margin: 0;">                    </div>                    <ul class="pagination new-page-color pagination-to-page" style="margin: 0">                        <li class="disabled">                            <a style="padding: 0; padding-left: 5px; padding-right: 5px;">每页                            <input kendo-numeric-text-box k-min="1" k-max="50"                                k-ng-model="pageInfo.pageSize"                                style="width: 63px;" k-on-change="refreshGrid();"                                k-options="{format: \'#\', decimals:0}" />                                条                            </a>                        </li>                    </ul>                    <ul class="pagination" style="margin: 0">                        <li class="disabled">                            <a>共{{ pageInfo.totalCount }}条</a>                        </li>                    </ul>                </div>            </div>        </div>    </div></div>');})();